from django.urls import path
from . import views

urlpatterns = [
    # 全局搜索API
    path('search/', views.global_search, name='global_search'),
    # 搜索建议API，用于前端自动补全
    path('suggestions/', views.search_suggestions, name='search_suggestions'),
]